package com.wh.wisdomsite.xbox.ba.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/***
 * 基础模块-公共基础字典表
 * @author 杨世强
 * @date 10:53 2018/8/2
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 * @version V1.0
 */
@TableName("ba_commonDict")
public class CommonDict extends Model<CommonDict> {
    /**
     * 字典编号
     */
    @TableId(type = IdType.UUID)
    private String cdId;
    /**
     * 字典所属板块名称
     */
    @TableField("modelName")
    private String modelName;
    /**
     * 字典所属模板代码
     */
    @TableField("modelCode")
    private String modelCode;
    /**
     * 字典所属功能名称
     */
    @TableField("funName")
    private String funName;
    /**
     * 字典所属功能代码
     */
    @TableField("funCode")
    private String funCode;
    /**
     * 字典所属属性名称
     */
    @TableField("propertyName")
    private String propertyName;
    /**
     * 字典所属属性代码
     */
    @TableField("propertyCode")
    private String propertyCode;
    /**
     * 字典父级代码
     */
    @TableField("propertyParentCode")
    private String propertyParentCode;
    /**
     * 字典排序, 1开始
     */
    @TableField("propertySort")
    private Integer propertySort;
    /**
     * 字典状态
     * 1 启用 2关闭
     */
    @TableField("status")
    private Integer status;
    /**
     * 创建时间
     */
    @TableField("createDate")
    private Date createDate;
    /**
     * 创建人
     */
    @TableField("createBy")
    private String createBy;

    public String getCdId() {
        return cdId;
    }

    public void setCdId(String cdId) {
        this.cdId = cdId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelCode() {
        return modelCode;
    }

    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    public String getFunName() {
        return funName;
    }

    public void setFunName(String funName) {
        this.funName = funName;
    }

    public String getFunCode() {
        return funCode;
    }

    public void setFunCode(String funCode) {
        this.funCode = funCode;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getPropertyCode() {
        return propertyCode;
    }

    public void setPropertyCode(String propertyCode) {
        this.propertyCode = propertyCode;
    }

    public String getPropertyParentCode() {
        return propertyParentCode;
    }

    public void setPropertyParentCode(String propertyParentCode) {
        this.propertyParentCode = propertyParentCode;
    }

    public Integer getPropertySort() {
        return propertySort;
    }

    public void setPropertySort(Integer propertySort) {
        this.propertySort = propertySort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    protected Serializable pkVal() {
        return this.cdId;
    }
}
